package com.ruoyi.erp.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 计划订单对象 erp_ps
 * 
 * @author ruoyi
 * @date 2021-12-10
 */
public class ErpPs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String erpPsUuid;
    /** 订单明细ID */
    @Excel(name = "订单明细ID")
    private String fkOrderDetailUuid;
    /** 工艺规程ID */
    @Excel(name = "工艺规程ID")
    private String fkMesProcessUuid;
    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal psQty;
    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtStart;
    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtEnd;
    @Excel(name = "版本号")
    private String versionNum;
    @Excel(name = "制单人")
    private String attentionUserName;
    @Excel(name = "销售号")
    private String orderDocNum;
    @Excel(name = "客户名称")
    private String custName;
    @Excel(name = "数量")
    private BigDecimal orderDetailQty;
    @Excel(name = "计量单位")
    private String orderUnit;
    @Excel(name = "物料名称")
    private String orderItemName;
    @Excel(name = "物料编号")
    private String orderItemNum;
    @Excel(name = "计量单位")
    private String wmsDictMeasuringUnit;
    @Excel(name = "审核人")
    private String confirmUserName;
    private String sysYesNoDone;
    @Excel(name = "工艺号")
    private String processDocNum;
    private String processUuid;
    private String fkItemUuid;
    private String itemSpecification;
    @Excel(name = "数量")
    private BigDecimal processAmt;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单日期")
    private Date orderDocDt;

    public String getItemSpecification() {
        return itemSpecification;
    }

    public void setItemSpecification(String itemSpecification) {
        this.itemSpecification = itemSpecification;
    }

    public String getFkItemUuid() {
        return fkItemUuid;
    }

    public void setFkItemUuid(String fkItemUuid) {
        this.fkItemUuid = fkItemUuid;
    }

    public BigDecimal getProcessAmt() {
        return processAmt;
    }

    public void setProcessAmt(BigDecimal processAmt) {
        this.processAmt = processAmt;
    }

    public String getProcessUuid() {
        return processUuid;
    }

    public void setProcessUuid(String processUuid) {
        this.processUuid = processUuid;
    }

    public String getOrderItemNum() {
        return orderItemNum;
    }

    public void setOrderItemNum(String orderItemNum) {
        this.orderItemNum = orderItemNum;
    }


    public String getConfirmUserName() {
        return confirmUserName;
    }

    public void setConfirmUserName(String confirmUserName) {
        this.confirmUserName = confirmUserName;
    }

    public String getWmsDictMeasuringUnit() {
        return wmsDictMeasuringUnit;
    }

    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    public String getOrderItemName() {
        return orderItemName;
    }

    public void setOrderItemName(String orderItemName) {
        this.orderItemName = orderItemName;
    }

    public String getOrderUnit() {
        return orderUnit;
    }

    public void setOrderUnit(String orderUnit) {
        this.orderUnit = orderUnit;
    }

    public String getProcessDocNum() {
        return processDocNum;
    }

    public void setProcessDocNum(String processDocNum) {
        this.processDocNum = processDocNum;
    }

    public String getOrderDocNum() {
        return orderDocNum;
    }

    public void setOrderDocNum(String orderDocNum) {
        this.orderDocNum = orderDocNum;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public BigDecimal getOrderDetailQty() {
        return orderDetailQty;
    }

    public void setOrderDetailQty(BigDecimal orderDetailQty) {
        this.orderDetailQty = orderDetailQty;
    }

    public Date getOrderDocDt() {
        return orderDocDt;
    }

    public void setOrderDocDt(Date orderDocDt) {
        this.orderDocDt = orderDocDt;
    }

    public String getAttentionUserName() {
        return attentionUserName;
    }

    public void setAttentionUserName(String attentionUserName) {
        this.attentionUserName = attentionUserName;
    }

    public String getVersionNum() {
        return versionNum;
    }

    public void setVersionNum(String versionNum) {
        this.versionNum = versionNum;
    }

    public void setErpPsUuid(String erpPsUuid)
    {
        this.erpPsUuid = erpPsUuid;
    }

    public String getErpPsUuid() 
    {
        return erpPsUuid;
    }
    public void setFkOrderDetailUuid(String fkOrderDetailUuid) 
    {
        this.fkOrderDetailUuid = fkOrderDetailUuid;
    }

    public String getFkOrderDetailUuid() 
    {
        return fkOrderDetailUuid;
    }
    public void setFkMesProcessUuid(String fkMesProcessUuid) 
    {
        this.fkMesProcessUuid = fkMesProcessUuid;
    }

    public String getFkMesProcessUuid() 
    {
        return fkMesProcessUuid;
    }

    public BigDecimal getPsQty() {
        return psQty;
    }

    public void setPsQty(BigDecimal psQty) {
        this.psQty = psQty;
    }

    public void setDtStart(Date dtStart)
    {
        this.dtStart = dtStart;
    }

    public Date getDtStart() 
    {
        return dtStart;
    }
    public void setDtEnd(Date dtEnd) 
    {
        this.dtEnd = dtEnd;
    }

    public Date getDtEnd() 
    {
        return dtEnd;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("erpPsUuid", getErpPsUuid())
            .append("fkOrderDetailUuid", getFkOrderDetailUuid())
            .append("fkMesProcessUuid", getFkMesProcessUuid())
            .append("psQty", getPsQty())
            .append("dtStart", getDtStart())
            .append("dtEnd", getDtEnd())
            .append("sysNormalDisable", getSysNormalDisable())
            .append("docTitle", getDocTitle())
            .append("docNum", getDocNum())
            .append("docDt", getDocDt())
            .append("docNote", getDocNote())
            .append("fkAttentionUserId", getFkAttentionUserId())
            .append("fkConfirmUserId", getFkConfirmUserId())
            .append("confirmDt", getConfirmDt())
            .append("oaDictConfirmStatus", getOaDictConfirmStatus())
            .append("confirmNote", getConfirmNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
